package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class Client {
    /**
     *GENDER_MAN   性别男
     *GENDER_WOMAN 性别女
     */
    public static  final Integer GENDER_MAN=1;
    public static  final Integer GENDER_WOMAN=0;
    /**
     *DEVELOPSIGN_FAIL=0  建议转入资源库
     *DEVELOPSIGN_SUCCESS=1 可开发
     */
    public static  final Integer DEVELOPSIGN_FAIL=0;
    public static  final Integer DEVELOPSIGN_SUCCESS=1;
    /**
     *STATE_SOURCE=0;   @param 资源池客户
     *STATE_OFFI=1;     @param 正式客户
     *STATE_LATENT=2;   @@param 潜在客户
     * STATE_PLAN=3;    @@param 开发中的客户
     */
    public static  final Integer STATE_SOURCE=0;
    public static  final Integer STATE_OFFI=1;
    public static  final Integer STATE_LATENT=2;
    public static  final Integer STATE_PLAN=3;


    private Long id;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    private Date inputdate;

    private Employee inputuser;

    private Employee principal;

    private String clientname;

    private Integer age;

    private Integer gender;

    private String salary;

    private String profession;

    private String source;

    private String email;

    private String tel;

    private String address;

    private String qq;

    private String idcard;

    private Integer developsgin;

    private Integer state;

    //正式客户的保险单号
    private String insuranceNo;


}